<?xml version="1.0" encoding="utf-8"?>

<scene windowWidth="720" windowHeight="405">
  
  <applicationTime/>
  <!--camera position-->
  <keyframe name="cameraX" easyinout="true">
    <step position="-70" time="0"/>
    <step position="-70" time="5"/>
    <step position="70" time="10"/>
    <step position="-50" time="15"/>
    <step position="-50" time="17"/>
    <step position="50" time="19"/>
    <step position="50" time="20"/>
    <step position="-50" time="21"/>
    <step position="-50" time="23"/>
    <step position="-50" time="25"/>
    <step position="60" time="28"/>
    <step position="60" time="29"/>
    <step position="-60" time="31"/>
  </keyframe>
  <keyframe name="cameraY" easyinout="true">
    <step position="5" time="0"/>
    <step position="5" time="5"/>
    <step position="60" time="10"/>
    <step position="5" time="15"/>
    <step position="40" time="17"/>
    <step position="60" time="19"/>
    <step position="60" time="20"/>
    <step position="60" time="23"/>
    <step position="60" time="25"/>
    <step position="5" time="28"/>
    <step position="5" time="30"/>
    <step position="50" time="31"/>
  </keyframe>
  <keyframe name="cameraZ" easyinout="true">
    <step position="60" time="0"/>
    <step position="60" time="5"/>
    <step position="60" time="10"/>
    <step position="20" time="12"/>
    <step position="0" time="15"/>
    <step position="-5" time="17"/>
    <step position="-30" time="19"/>
    <step position="-5" time="20"/>
    <step position="-15" time="21"/>
    <step position="-15" time="23"/>
    <step position="-80" time="26"/>
    <step position="-80" time="27"/>
    <step position="-20" time="30"/>
    <step position="-110" time="32"/>
  </keyframe>
  <putInVector3 name="cameraPosition">
    <x connectFrom="cameraX" value="0"/>
    <y connectFrom="cameraY" value="5"/>
    <z connectFrom="cameraZ" value="0"/>
  </putInVector3>
  <!--end camera position-->
  
  <!--camera at-->
  <keyframe name="atX" easyinout="true">
    <step position="0" time="0"/>
    <step position="0" time="5"/>
    <step position="0" time="10"/>
    <step position="0" time="15"/>
    <step position="0" time="17"/>
    <step position="50" time="18"/>
    <step position="0" time="19"/>
    <step position="0" time="21"/>
    <step position="0" time="22"/>
    <step position="-20" time="24"/>
    <step position="-20" time="31"/>
    <step position="5" time="32"/>
    
  </keyframe>
  <keyframe name="atY" easyinout="true">
    <step position="20" time="0"/>
    <step position="20" time="5"/>
    <step position="20" time="10"/>
    <step position="20" time="15"/>
    <step position="30" time="17"/>
    <step position="30" time="18"/>
    <step position="40" time="19"/>
    <step position="40" time="21"/>
    <step position="40" time="22"/>
    <step position="20" time="24"/>
    <step position="20" time="31"/>
    <step position="20" time="32"/>

  </keyframe>
  <keyframe name="atZ" easyinout="true">
    <step position="-10" time="0"/>
    <step position="-10" time="5"/>
    <step position="50" time="10"/>
    <step position="50" time="10"/>
    <step position="-5" time="17"/>
    <step position="-5" time="18"/>
    <step position="5" time="19"/>
    <step position="5" time="21"/>
    <step position="5" time="22"/>
    <step position="-50" time="24"/>
    <step position="-50" time="31"/>
    <step position="0" time="32"/>
   
  </keyframe>
  <putInVector3 name="cameraAt">
    <x connectFrom="atX" value="0"/>
    <y connectFrom="atY" value="5"/>
    <z connectFrom="atZ" value="0"/>
  </putInVector3>
  <!--end camera at-->
  <camera ratio="16/9" fov="45" near="1" far="1000"/>
  <lookAt>
    <position connectFrom="cameraPosition" x="0" y="500" z="0"/>
    <at connectFrom="cameraAt" x="0" y="25" z="20"/>
    <up connectFrom="0" x="0" y="1" z="0"/>
  </lookAt>
  
  <!--terrain-->
  <separator>
    <material>
      <ambient r="1" g="1" b="1"/>
      <diffuse r="0" g="0" b="0"/>
      <specular r="0" g="0" b="0"/>
      <shininess>0</shininess>
    </material>
    <terrain size="1000"/>
  </separator>
  <!--end terrain-->

  <!--wall-->
  <separator>
    <rotate axis="x">
      <angle connectFrom="0">90</angle>
    </rotate>
    <translate connectFrom="0" x="0" y="-120" z="0"/>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="0" b="0"/>
      <specular r="0" g="0" b="0"/>
      <shininess>0</shininess>
    </material>
    <terrain size="200"/>
  </separator>
  <separator>
    <rotate axis="x">
      <angle connectFrom="0">90</angle>
    </rotate>
    <rotate axis="z">
      <angle connectFrom="0">90</angle>
    </rotate>
    <translate connectFrom="0" x="0" y="-100" z="0"/>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="0" b="0"/>
      <specular r="0" g="0" b="0"/>
      <shininess>0</shininess>
    </material>
    <terrain size="250"/>
  </separator>
  <separator>
    <rotate axis="x">
      <angle connectFrom="0">90</angle>
    </rotate>
    <rotate axis="z">
      <angle connectFrom="0">90</angle>
    </rotate>
    <translate connectFrom="0" x="0" y="100" z="0"/>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="0" b="0"/>
      <specular r="0" g="0" b="0"/>
      <shininess>0</shininess>
    </material>
    <terrain size="250"/>
  </separator>
  <separator>
    <rotate axis="x">
      <angle connectFrom="0">90</angle>
    </rotate>
    <translate connectFrom="0" x="0" y="80" z="0"/>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="0" b="0"/>
      <specular r="0" g="0" b="0"/>
      <shininess>0</shininess>
    </material>
    <terrain size="200"/>
  </separator>

  <!--awesome attraction-->
  <separator>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="1" b="0"/>
      <specular r="0" g="1" b="0"/>
      <shininess>25</shininess>
    </material>
    <linearFunction name="rotationAttraction"  coeff="40" offset="0" time="0"/>
    <translate connectFrom="0" x="-10" y="0" z="40"/>
    <awesomeAttraction size="3">
      <rotationPillar connectFrom="rotationAttraction">0</rotationPillar>
      <rotationArm connectFrom="rotationAttraction">0</rotationArm>
      <rotationBooth connectFrom="rotationAttraction">0</rotationBooth>
    </awesomeAttraction>
  </separator>
  <!--end awesome attraction-->

  <!--carousel-->
  <separator>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0.5" g="1" b="0"/>
      <specular r="0.5" g="1" b="0"/>
      <shininess>128</shininess>
    </material>
    <translate connectFrom="0" x="-70" y="0" z="20"/> 
    <linearFunction name="rotationCarousel"  coeff="15" offset="0" time="0"/>
    <carousel>
      <size>2</size>
      <rotation connectFrom="rotationCarousel"></rotation>
      <upAndDown amplitude="4" frequency="1.5" offset="0"/>
    </carousel>
  </separator>
  
  <!--roller coaster rail-->
  <separator>
    <translate connectFrom="0" x="0" y="10" z="-20"/>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0" g="0" b="255"/>
      <specular r="0" g="0" b="255"/>
      <shininess>128</shininess>
    </material>
    <bezierCoordinates type="rail" numberOfElementPerPath="60">
      <path>
        <controllerPoint x="0" y="20" z="5"/>
        <controllerPoint x="50" y="80" z="10"/>
        <controllerPoint x="50" y="10" z="15"/>
        <controllerPoint x="0" y="20" z="20"/>
      </path>

      <path>
        <controllerPoint x="0" y="20" z="20"/>
        <controllerPoint x="-50" y="80" z="15"/>
        <controllerPoint x="-50" y="10" z="10"/>
        <controllerPoint x="0" y="20" z="5"/>
      </path>
 
      
    </bezierCoordinates>
  </separator>
  <!--end roller coaster rail-->

  <!--roller coaster-->
  <separator>
    <translate connectFrom="0" x="0" y="10" z="-20"/>
      <bezierPath loop="true">
        <path>
          <controllerPointPath x="0" y="20" z="5" t="0"/>
          <controllerPointPath x="50" y="80" z="10" t="1"/>
          <controllerPointPath x="50" y="10" z="15" t="2"/>
          <controllerPointPath x="0" y="20" z="20" t="3"/>
        </path>
        <path>
          <controllerPointPath  x="0" y="20" z="20" t="3"/>
          <controllerPointPath x="-50" y="80" z="15" t="4"/>
          <controllerPointPath x="-50" y="10" z="10" t="5"/>
          <controllerPointPath x="0" y="20" z="5" t="6"/>
        </path>
      </bezierPath>

      <translate connectFrom="0" x="0" y="2" z="0"/>
      <cube>
        <size connectFrom="0">3</size>
      </cube>
      <translate connectFrom="0" x="-4" y="0" z="0"/>
      <cube>
        <size connectFrom="0">2</size>
      </cube>
      <translate connectFrom="0" x="8" y="0" z="0"/>
      <cube>
        <size connectFrom="0">2</size>
      </cube>
      <translate connectFrom="0" x="-4" y="4" z="0"/>
      <cube>
        <size connectFrom="0">2</size>
      </cube>
  </separator>
  <!--roller coaster-->

  <!--greatWheel-->
  <separator>
    <translate connectFrom="0" x="-20" y="20" z="-50"/>
    <linearFunction name="rotationWheel"  coeff="15" offset="0" time="0"/>
    <linearFunction name="rotationBooth"  coeff="-15" offset="0" time="0"/>

    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="1" g="0" b="0"/>
      <specular r="1" g="0" b="0"/>
      <shininess>128</shininess>
    </material>

    <greatWheel>
      <size>1</size>
      <rotationBooth connectFrom="rotationBooth"/>
      <rotationWheel connectFrom="rotationWheel"/>
    </greatWheel>
  </separator>
  <!--end greatWheel-->

  <!--fountain-->
  <separator>
    <material>
      <ambient r="0" g="0" b="1"/>
      <diffuse r="0" g="0" b="1"/>
      <specular r="0" g="0" b="1"/>
      <shininess>60</shininess>
    </material>
    <translate connectFrom="0" x="20" y="20" z="-50"/>
     <particleSystem numberOfParticle="200000" eulerStep="0.01" time="0">
        <emitter type="circleEmitter" numberOfParticleToEmit="80">
          <velocity connectFrom="0" x="1" y="1" z="1"/>
          <position connectFrom="0" x="0" y="0" z="0"/>
          <radius connectFrom="0">10</radius>
        </emitter>
        <simulation type="attractionSimulation"/>
        <reaper type="timeReaper">
          <lifeSpan>5</lifeSpan>
        </reaper>
       <display type="particlesPoint">
         <size>3</size>
       </display>
      </particleSystem>
    <material>
      <ambient r="0" g="0" b="0"/>
      <diffuse r="0.8" g="128" b="128"/>
      <specular r="0.8" g="128" b="128"/>
      <shininess>60</shininess>
    </material>
    <separator>
      <translate connectFrom="0" x="0" y="-2" z="0"/>
    <cube>
      <size connectFrom="0">5</size>
    </cube>
    </separator>
    <separator>
      <translate connectFrom="0" x="0" y="-7" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <translate connectFrom="0" x="0" y="-12" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <translate connectFrom="0" x="0" y="-17" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <translate connectFrom="0" x="0" y="-22" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">45</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">90</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">135</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">180</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">225</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">270</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">315</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    <separator>
      <rotate axis="y">
        <angle connectFrom="0">360</angle>
      </rotate>
      <translate connectFrom="0" x="7" y="-3" z="0"/>
      <cube>
        <size connectFrom="0">5</size>
      </cube>
    </separator>
    
  </separator>
  <!--end foutnain-->

</scene>